/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package back;

import javax.faces.bean.ApplicationScoped;
import javax.faces.bean.ManagedBean;



/**
 *
 * @author buben
 */
@ManagedBean( name= "searchBean")
@ApplicationScoped
public class SearchBean {

    
    private String searchWord;

    public String getSearchWord() {
        return searchWord;
    }

    public void setSearchWord(String searchWord) {
        this.searchWord = searchWord;
    }
    
    
    public String search(){
        
        //TODO

        return "search?faces-redirect=true";
        
    }
    
    
    
}
